package com.jy.rhin.infra.cda.dao.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.dao.ChanQianSCSFDao;
import com.jy.rhin.infra.cda.mapper.ChanQianSCSFMapper;
import com.jy.rhin.infra.cda.ycf.ChanQianSCSFVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChanQianSCSFDaoImpl implements ChanQianSCSFDao {
	@Resource
	private ChanQianSCSFMapper chanQianSCSFMapper;

	@Override
	public ChanQianSCSFVo getByBH(String fuWuJGBH, String bh) {
		QueryWrapper<ChanQianSCSFVo> queryWrapper = new QueryWrapper<ChanQianSCSFVo>();
		queryWrapper.eq("CHANQIANSFJLBH", bh);
		return chanQianSCSFMapper.getOne(queryWrapper);
	}

}
